﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000625 RID: 1573
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetActivityScheduleConfigScRsp : IMessage<GetActivityScheduleConfigScRsp>, IMessage, IEquatable<GetActivityScheduleConfigScRsp>, IDeepCloneable<GetActivityScheduleConfigScRsp>, IBufferMessage
	{
		// Token: 0x1700145C RID: 5212
		// (get) Token: 0x06004708 RID: 18184 RVA: 0x000C3DEB File Offset: 0x000C1FEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetActivityScheduleConfigScRsp> Parser
		{
			get
			{
				return GetActivityScheduleConfigScRsp._parser;
			}
		}

		// Token: 0x1700145D RID: 5213
		// (get) Token: 0x06004709 RID: 18185 RVA: 0x000C3DF2 File Offset: 0x000C1FF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetActivityScheduleConfigScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700145E RID: 5214
		// (get) Token: 0x0600470A RID: 18186 RVA: 0x000C3E04 File Offset: 0x000C2004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetActivityScheduleConfigScRsp.Descriptor;
			}
		}

		// Token: 0x0600470B RID: 18187 RVA: 0x000C3E0B File Offset: 0x000C200B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetActivityScheduleConfigScRsp()
		{
		}

		// Token: 0x0600470C RID: 18188 RVA: 0x000C3E1E File Offset: 0x000C201E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetActivityScheduleConfigScRsp(GetActivityScheduleConfigScRsp other) : this()
		{
			this.scheduleData_ = other.scheduleData_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600470D RID: 18189 RVA: 0x000C3E54 File Offset: 0x000C2054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetActivityScheduleConfigScRsp Clone()
		{
			return new GetActivityScheduleConfigScRsp(this);
		}

		// Token: 0x1700145F RID: 5215
		// (get) Token: 0x0600470E RID: 18190 RVA: 0x000C3E5C File Offset: 0x000C205C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ActivityScheduleData> ScheduleData
		{
			get
			{
				return this.scheduleData_;
			}
		}

		// Token: 0x17001460 RID: 5216
		// (get) Token: 0x0600470F RID: 18191 RVA: 0x000C3E64 File Offset: 0x000C2064
		// (set) Token: 0x06004710 RID: 18192 RVA: 0x000C3E6C File Offset: 0x000C206C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06004711 RID: 18193 RVA: 0x000C3E75 File Offset: 0x000C2075
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetActivityScheduleConfigScRsp);
		}

		// Token: 0x06004712 RID: 18194 RVA: 0x000C3E84 File Offset: 0x000C2084
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetActivityScheduleConfigScRsp other)
		{
			return other != null && (other == this || (this.scheduleData_.Equals(other.scheduleData_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004713 RID: 18195 RVA: 0x000C3ED4 File Offset: 0x000C20D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.scheduleData_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004714 RID: 18196 RVA: 0x000C3F21 File Offset: 0x000C2121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004715 RID: 18197 RVA: 0x000C3F29 File Offset: 0x000C2129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004716 RID: 18198 RVA: 0x000C3F34 File Offset: 0x000C2134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			this.scheduleData_.WriteTo(ref output, GetActivityScheduleConfigScRsp._repeated_scheduleData_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004717 RID: 18199 RVA: 0x000C3F84 File Offset: 0x000C2184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.scheduleData_.CalculateSize(GetActivityScheduleConfigScRsp._repeated_scheduleData_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004718 RID: 18200 RVA: 0x000C3FD8 File Offset: 0x000C21D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetActivityScheduleConfigScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.scheduleData_.Add(other.scheduleData_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004719 RID: 18201 RVA: 0x000C4025 File Offset: 0x000C2225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600471A RID: 18202 RVA: 0x000C4030 File Offset: 0x000C2230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 98U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.scheduleData_.AddEntriesFrom(ref input, GetActivityScheduleConfigScRsp._repeated_scheduleData_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001C3F RID: 7231
		private static readonly MessageParser<GetActivityScheduleConfigScRsp> _parser = new MessageParser<GetActivityScheduleConfigScRsp>(() => new GetActivityScheduleConfigScRsp());

		// Token: 0x04001C40 RID: 7232
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001C41 RID: 7233
		public const int ScheduleDataFieldNumber = 12;

		// Token: 0x04001C42 RID: 7234
		private static readonly FieldCodec<ActivityScheduleData> _repeated_scheduleData_codec = FieldCodec.ForMessage<ActivityScheduleData>(98U, ActivityScheduleData.Parser);

		// Token: 0x04001C43 RID: 7235
		private readonly RepeatedField<ActivityScheduleData> scheduleData_ = new RepeatedField<ActivityScheduleData>();

		// Token: 0x04001C44 RID: 7236
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04001C45 RID: 7237
		private uint retcode_;
	}
}
